package com.ndp.fb.walle.business;


import com.ndp.fb.rdb.model.BusinessManager;

import java.util.List;

/**
 * Created by Sisi on 14-10-24.
 */
public interface BusinessManagerService {
    /**
     * 通过userid查询BM帐号
     *
     * @return
     */
    BusinessManager findByFbBusinessId(Long fbBusinessesId);
    List<BusinessManager> findByUserId(String userId);
    List<BusinessManager> findByUserId(String userId,String role);
    Long saveBusinessManager(BusinessManager businessManager);
}
